package cn.ht.jywrwater.module.ht.convert.customermeterdevice;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.customermeterdevice.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.customermeterdevice.CustomerMeterDeviceDO;

/**
 * 小口径流量 Convert
 *
 * @author hzx
 */
@Mapper
public interface CustomerMeterDeviceConvert {

    CustomerMeterDeviceConvert INSTANCE = Mappers.getMapper(CustomerMeterDeviceConvert.class);

    CustomerMeterDeviceDO convert(CustomerMeterDeviceCreateReqVO bean);

    CustomerMeterDeviceDO convert(CustomerMeterDeviceUpdateReqVO bean);

    CustomerMeterDeviceRespVO convert(CustomerMeterDeviceDO bean);

    List<CustomerMeterDeviceRespVO> convertList(List<CustomerMeterDeviceDO> list);

    PageResult<CustomerMeterDeviceRespVO> convertPage(PageResult<CustomerMeterDeviceDO> page);

    List<CustomerMeterDeviceExcelVO> convertList02(List<CustomerMeterDeviceDO> list);

}
